<template>
	<view>
		<view class="main">
			<text class="frame"></text>
			<text class="specifications">规格变动</text>
			<view class="priceBox">
				<text class="price">成本价</text>
				<text class="symbol">￥</text>
				<input class="inputPrice" type="number" placeholder="999"/>
			</view>
			<view class="priceBox">
				<text class="price">原&nbsp&nbsp&nbsp价</text>
				<text class="symbol">￥</text>
				<input class="inputPrice" type="number" placeholder="999"/>
			</view>
			<view class="priceBox">
				<text class="price">售&nbsp&nbsp&nbsp价</text>
				<text class="symbol">￥</text>
				<input class="inputPrice" type="number" placeholder="99"/>
			</view>
			<text class="framea"></text>
			<text class="addNum">增添数量</text>
			<view class="stockBox">
				<text class="stock">库&nbsp&nbsp&nbsp存</text>
				<input class="inputNum" type="number" placeholder="请输入数量"/>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			back() {
				uni.navigateBack({
					delta: 1,
				})
			},
		}
	}
</script>

<style lang="scss">
	 .main{
		 width: 750rpx;
		 height: 750rpx;
		 position: relative;
		 top: 0rpx;
		 }
		 .frame{
			 display: block;
			 width:10rpx;
			 height:30rpx;
			 background:rgba(115,34,216,1);
			 border-radius:5rpx;
			 position: absolute;
			 top: 30rpx;
			 left: 20rpx;
		 }
		 .specifications{
			 font-size:28rpx;
			 font-family:PingFang SC;
			 font-weight:400;
			 color:rgba(51,51,51,1);
			 position: absolute;
			 top: 25rpx;
			 left: 42rpx;
		 }
		 .priceBox{
			 width:710rpx;
			 height:100rpx;
			 background:rgba(255,255,255,1);
			 border-radius:10rpx;
			 position: relative;
			 top: 90rpx;
			 left: 21rpx;
			 display: flex;
			 align-items: center;
		 }
		 .price{
			 font-size:28rpx;
			 font-family:PingFang SC;
			 font-weight:400;
			 color:rgba(51,51,51,1);
			 position: absolute;
			 left: 21rpx;
		 }
		 .symbol{
			 font-size: 28rpx;
			 color: #333333;
			 position: absolute;
			 left: 161rpx;
		 }
		 .inputPrice{
			 font-size: 28rpx;
			 position: absolute;
			 left: 190rpx;
		 }
		 .framea{
			 display: block;
			 width:10rpx;
			 height:30rpx;
			 background:rgba(115,34,216,1);
			 border-radius:5rpx;
			 position: absolute;
			 top: 435rpx;
			 left: 20rpx;
		 }
		 .addNum{
			 font-size:28rpx;
			 font-family:PingFang SC;
			 font-weight:400;
			 color:rgba(51,51,51,1);
			 position: absolute;
			 top: 429rpx;
			 left: 42rpx;
		 }
		 .stockBox{
			 width:710rpx;
			 height:100rpx;
			 background:rgba(255,255,255,1);
			 border-radius:10rpx;
			 position: relative;
			 top: 180rpx;
			 left: 20rpx;
			 display: flex;
			 align-items: center;
		 }
		 .stock{
			 font-size:28rpx;
			 font-family:PingFang SC;
			 font-weight:400;
			 color:rgba(51,51,51,1);
			 position: absolute;
			 left: 21rpx;
		 }
		 .inputNum{
			 font-size:28rpx;
			 position: absolute;
			 left: 155rpx;
			 
		 }
</style>
